package com.jason.exp.main;

import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * Created by fuyongde on 2016/9/23.
 */
public class Fruit {
    @FruitName
    private String name;
    private String color;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
